import Vue from 'vue'
import Vuex from 'vuex'
import app from './modules/app'
import user from './modules/user'
import getters from './getters'
import yzt from './modules/yzt'
import ygjc from './modules/ygjc'
import sjwh from './modules/sjwh'
import xcgl from './modules/xcgl'
import amap from './modules/amap'
import zhzs from './modules/zhzs'
import yxwh from './modules/yxwh'
import eswyzt from './modules/eswyzt'
import hzzSys from './modules/hzzSys'

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    app,
    yzt,
    ygjc,
    sjwh,
    xcgl,
    zhzs,
    yxwh,
    user,
    eswyzt,
    hzzSys,
    amap
  },
  getters
})

export default store
